module wlt.plan {
    requires javafx.controls;
    requires javafx.fxml;
    requires com.fasterxml.jackson.databind;
    requires com.fasterxml.jackson.datatype.jsr310;
    
    opens wlt.plan to javafx.fxml;
    exports wlt.plan;
    
    exports wlt.plan.controller;
    opens wlt.plan.controller to javafx.fxml;
    
    // 添加对model包的导出和开放，使Jackson可以访问TodoItem类
    exports wlt.plan.model to com.fasterxml.jackson.databind;
    opens wlt.plan.model to com.fasterxml.jackson.databind;
}